# gozerlib/utils/name.py
#
#

""" name related helper functions. """

## basic imports

import string

allowednamechars = string.ascii_letters + string.digits + '!.@'

def stripname(name):

    """ strip all not allowed chars from name. """

    res = ""
    for c in name:
        if c in allowednamechars:
            res += c
    return res
